﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.BaseData.Domain.Base
{
	/// <summary>
	/// 部门
	/// </summary>
	[Table("Department")]
	public class Department:BaseData
	{
		/// <summary>
		/// 部门编号
		/// </summary>
        [Key]
        public int DepartmentId { get; set; }
		/// <summary>
		/// 部门名称
		/// </summary>
        public string DepartmentName { get; set; }
		/// <summary>
		/// 上级部门
		/// </summary>
        public int? ParentId { get; set; }
		/// <summary>
		/// 部门状态
		/// </summary>
        public bool DepartStatus { get; set; }
		/// <summary>
		/// 管理人员
		/// </summary>
        public int ManageUser { get; set; }
		/// <summary>
		/// 部门描述
		/// </summary>
        public string DepartDesc { get; set; }
    }
}
